export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/myPage/index',
    'pages/taskList/index',
    'pages/taskEdit/index',
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  lazyCodeLoading: "requiredComponents",
  tabBar: {
    list:[
      {
        pagePath: 'pages/index/index',
        text: 'ToDoList',
        iconPath: './static/todolist.png',
        selectedIconPath: './static/todolistactive.png'
      },{
        pagePath: 'pages/taskList/index',
        text: '任务清单',
        iconPath: './static/task-list.png',
        selectedIconPath: './static/task-list-active.png'
      },{
        pagePath: 'pages/myPage/index',
        text: '我的页面',
        iconPath: './static/my.png',
        selectedIconPath: './static/myactive.png'
      }
    ]
  }
})
